<?php
$conf=[
    'openai'=>[
        'url'=>'https://api.openai.com/v1/chat/completions',
        'key'=>'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',
        'mode'=>"gpt-3.5-turbo"
    ],
   'deepseek'=>[
       'url'=>'https://api.deepseek.com/v1/chat/completions',
       'key'=>'sk-bedbd6b952364830902830af3dcab3c7',
       'mode'=>"deepseek-chat"
   ],
    'baidu'=>[
        'url'=>'https://qianfan.baidubce.com/v2',
        'key'=>'9ryn6qPUeVoF10w1Vs1pi7LL',
        'mode'=>"ernie-4.0-turbo-8k"
    ]
];
$set = $conf['deepseek'];
//api-key
define('OPENAI_API_KEY', $set['key']);
//接口地址
define('CHATGPT_API_URL', $set['url']);
//本地代理服务器，不需要就注释
//define('PROXY', 'http://127.0.0.1:7890');
//模型
define('CHAT_MODE', $set['mode']);